package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.RecieveAccount;
import com.chainyoung.common.appcommon.entity.UploadFile;
import com.chainyoung.common.bean.UserInfo;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;

import java.util.Map;
import java.util.TreeMap;

import io.reactivex.Flowable;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.PartMap;

public interface UpdateUserInfoContract {

    interface View extends IView {

        void updataUserInfoSuccess(UserInfo data);

        void uploadImgSuccess(UploadFile data);

    }

    interface Model extends IModel {

        Flowable<UserInfo> updataUserInfo(TreeMap<String, Object> map);

        Flowable<UploadFile> upLoadLogo(RequestBody params);

    }


}
